<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
              //创建一个对象object的首字大写，记住

        var obj = new Object();
       //往里面添加属性
        obj.name="沙和尚";
        obj.age =18;
        obj.xinbie = "男";


        //修改age
              obj.age = 19;
              console.log(obj.age);

        //      删除性别
              delete obj.xinbie;



        //读取对象的属性
     console.log(obj);





    </script>




</head>
<body>

</body>
</html>